import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';
import get from '@dfeidao/atom-web/local/get';
export default async function a004(fd: IFeidaoAiBrowserComponent) {
	// 搜索
	const plan_item_no = get(fd, 'plan_item_no');
	const hidden_name = fd.data.node.querySelector<HTMLInputElement>('[data-id="hidden_name"]').value;
	const res = await nodejs('wangju/zj-000008/s001', {
		hidden_name,
		page_no: 1,
		plan_item_no
	});
	console.log(res);
	render(fd, res, p001, 'p001', 'inner');
}
